FROM nginx
LABEL name="daily-hot-master"
LABEL version="1.0"
COPY  ./dist/ /usr/share/nginx/html/daily-hot-master/
COPY ./daily-hot-master-nginx.conf /etc/nginx/conf.d/


# 复制 SSL 证书到 nginx 的 SSL 目录
COPY ./ssl/dailyhot.ymxl.me.key /usr/local/ymxl.me/dailyhot.ymxl.me.key
COPY ./ssl/dailyhot.ymxl.me.pem /usr/local/ymxl.me/dailyhot.ymxl.me.pem
EXPOSE 80
EXPOSE 443